package com.hljx.vo;

import com.alibaba.excel.annotation.ExcelIgnore;
import com.alibaba.excel.annotation.ExcelProperty;
import com.fasterxml.jackson.annotation.JsonIgnore;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

/**
 * @author : gx
 * @since : 2023/4/26 19:10
 */
@Data
public class SysDictItemVO {

    @Schema(description = "字典项主键")
    @ExcelIgnore
    private Long id;

    @Schema(description = "字典项标签")
    @ExcelProperty(value = "字典项标签", index = 0)
    private String name;

    @Schema(description = "字典code")
    @ExcelProperty(value = "字典code", index = 1)
    private String code;

    @Schema(description = "字典排序")
    @ExcelIgnore
    private Integer sort;

    @Schema(description = "启用状态：0->禁用 1->启用")
    @ExcelIgnore
    private Integer status;

    @Schema(description = "是否启动")
    @ExcelProperty(value = "是否启动", index = 2)
    @JsonIgnore
    private String isEnable;

    @Schema(description = "备注")
    @ExcelProperty(value = "备注", index = 3)
    private String remark;

}
